package cn.wp.ewallet.wallet.scheduler;

import cn.wp.common.core.plugin.scheduler.SchedulerRunnable;
import cn.wp.common.core.plugin.scheduler.SchedulerTask;
import cn.wp.common.core.util.ApplicationContextUtil;
import cn.wp.ewallet.wallet.service.AutoCollectService;
import cn.wp.ewallet.wallet.service.UserOrderService;

public class UserOrderRunable extends SchedulerRunnable {
    public UserOrderRunable(SchedulerTask schedulerTask) {
        super(schedulerTask);
    }

    @Override
    public void runStart() {
        UserOrderService orderService = ApplicationContextUtil.getBean(UserOrderService.class);
        orderService.clearTimeout();
    }

    @Override
    public void runFinish(SchedulerTask schedulerTask) {

    }
}
